#include<iostream>
using namespace std;
#include"RBtree.h"
int main()
{
	RBTree<int,int> t;
	int a[] = {4,2,6,1,3,5,15,7,16,14};

	for (auto e : a)
	{
		t.insert(make_pair(e, e));
	}
	t.Inorder();
	cout << t.is_rbtree() << endl;
	return 0;
}